package com.yunkazaixian.syntelecom.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

// FIXME generate failure  field _$WebCurrAcuRsp66
@NoArgsConstructor
@Data
public class QueryPakageBean {

    @JSONField(name = "web:CurrAcuRsp")
    private Web web;

    @NoArgsConstructor
    @Data
    public static class Web{
        @JSONField(name = "IRESULT")
        private String iresult;
        @JSONField(name = "SMSG")
        private String smgs;
        @JSONField(name = "GROUP_TRANSACTIONID")
        private String group_transactionid;
        @JSONField(name = "number")
        private String number;
        @JSONField(name = "CumulRspList")
        private List<CumulRsp> CumulRspList;
    }

    @NoArgsConstructor
    @Data
    public static class CumulRsp{

        @JSONField(name = "ACCU_NAME")
        private String accu_name;
        @JSONField(name = "UNIT_NAME")
        private String unit_name;
        @JSONField(name = "CUMULATION_ALREADY")
        private String cumulation_already;

    }
}
